Repository navigation
HKSV3 recordings: true times, a sealed date line, a sealed initialization segment and one target duration - #1155
Merged
Merged
Conversation
Coverage Report for CI Build 46279573336Warning No base build found for commit Coverage: 94.476%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats💛 - Coveralls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Four changes to how a camera in the modern form records, following #1154. Each was read on home hubs running iOS 27.
prftbox where it carries one, and the picture's arrival otherwise. Before this, a recording was stamped with the moment its first fragment was sent, which dated its lead-up late by the length of the prebuffer.What a plugin sees
Nothing a plugin has to change. A plugin whose source knows when its pictures were taken can say so with a
prftbox in front of each fragment, which from ffmpeg is-write_prft wallclock. Without one, the library dates each picture by its arrival, which is right for a live source. The example camera states its time this way.The commits
The guides
guides/HKSV3Protocol.mdnow describes the sealed date line and what places a clip, the sealed initialization segment, the target duration, and how long a hub waits for a recording's first fragment: about 16 seconds, after which it closes the stream. It also notes one thing we observed and have not explained: two clips that meet end to end show as one clip in the Home app, and it plays with a brief stutter where they meet.guides/UpgradingCameraPlugins.mdgains how a plugin's stream states its times.How it was tested